unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Emacs 24 Mac port
@ 2012-03-22 11:04 Pavel Martynenko
  0 siblings, 0 replies; 12+ messages in thread
From: Pavel Martynenko @ 2012-03-22 11:04 UTC (permalink / raw)
  To: emacs-devel; +Cc: mituharu

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

Fix tooltip position

$ diff -u src/macfns.c~ src/macfns.c
--- src/macfns.c~	2012-03-22 12:37:16.000000000 +0200
+++ src/macfns.c	2012-03-22 12:36:15.000000000 +0200
@@ -3509,8 +3509,6 @@
 
   if (INTEGERP (top))
     *root_y = XINT (top);
-  else if (*root_y + XINT (dy) <= 0)
-    *root_y = 0; /* Can happen for negative dy */
   else if (*root_y + XINT (dy) + height
 	   <= x_display_pixel_height (FRAME_MAC_DISPLAY_INFO (f)))
     /* It fits below the pointer */
@@ -3524,8 +3522,6 @@
 
   if (INTEGERP (left))
     *root_x = XINT (left);
-  else if (*root_x + XINT (dx) <= 0)
-    *root_x = 0; /* Can happen for negative dx */
   else if (*root_x + XINT (dx) + width
 	   <= x_display_pixel_width (FRAME_MAC_DISPLAY_INFO (f)))
     /* It fits to the right of the pointer.  */

--------------------------------------------------------------------------------
It happens when second monitor attached on top or left.

+---------------------++----------------+
|		      ||----------------|
|		      ||     main       |
|       second        ||                |
|		      |+----------------+
|		      |
+---------------------+

or

+---------------------+
|		      |
|		      |
|	second        |
|		      |
|      	       	      |
+---------------------+
+----------------+
|----------------|
|      main      |
|                |
+----------------+



Cheers,
Pavlo Martynenko
pavelmart@gmail.com






[-- Attachment #2: Type: text/html, Size: 7122 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Emacs 24 Mac port
@ 2012-03-03  4:20 YAMAMOTO Mitsuharu
  2012-03-03  8:26 ` Dave Abrahams
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: YAMAMOTO Mitsuharu @ 2012-03-03  4:20 UTC (permalink / raw)
  To: emacs-devel

The Mac port based on Emacs 24.0.94 pretest is now available from

    ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-24.0.94-mac-2.90.tar.gz

This version (2.9X) should be regarded as experimental/hackers-only.
There are some missing Emacs 24 features such as right-to-left Complex
Text Layout, and things are subject to change/removal in an
incompatible way.  Please refrain from distributing this in any
different form, including for (binary) distribution basis, until the
version gets to 3.0.


* emacs-24.0.94-mac-2.90 [experimental/hackers-only] (2012-03-03)
Based on Emacs 24.0.94.  Drop support for Mac OS X 10.2 and 10.3.
Be aware of the (platform-independent) change in selection:
mouse-dragging no longer automatically copies the selected text to the
clipboard without M-w or `Copy' in the menu bar or the tool bar,
unless you set `mouse-drag-copy-region' to t.

** Fixed bugs

*** If compiled with ARC, "Emacs" (in the menu bar) -> "About Emacs"
leads to crash.

*** Emacs -q --eval "(set-frame-parameter nil 'fullscreen 'fullboth)"
does not hide the menu bar.
Reported by Leo.

** Improvements

*** New image type `image-io', which is parallel to `imagemagick' but
uses the Image I/O framework.  If not configured to link with the
ImageMagick library, then `image-io' provides a fallback
implementation of the `imagemagick' image type.

*** The variable `tool-bar-style' works like in GTK+.  The values
`both-horiz', `text-image-horiz' are synonymous with `both'.

*** Flicking either a touch-sensitive mouse with one finger or a
trackpad with two fingers horizontally issues a swipe-left/swipe-right
event, which is now bound to a simple buffer switching by default.


You'll need the patch below for svg-clock.el 0.4 that is available
from ELPA, if SVG support is provided via WebKit instead of librsvg.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

diff -c /Users/mituharu/.emacs.d/elpa/svg-clock-0.4/svg-clock.el\~ /Users/mituharu/.emacs.d/elpa/svg-clock-0.4/svg-clock.el
*** /Users/mituharu/.emacs.d/elpa/svg-clock-0.4/svg-clock.el~	2012-02-17 10:30:04.000000000 +0900
--- /Users/mituharu/.emacs.d/elpa/svg-clock-0.4/svg-clock.el	2012-02-17 10:33:23.000000000 +0900
***************
*** 63,68 ****
--- 63,69 ----
  <!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"
  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">
  <svg xmlns=\"http://www.w3.org/2000/svg\"
+      xmlns:xlink=\"http://www.w3.org/1999/xlink\"
       width=\"%SIZE%\" height=\"%SIZE%\" >
      <defs>
          <symbol id=\"tick\">
***************
*** 154,160 ****
  
  (defun svg-clock-color-to-hex (colour)
    "Return hex representation of COLOUR."
!   (let ((values (color-values colour)))
      (format "#%02x%02x%02x" (nth 0 values) (nth 1 values) (nth 2 values))))
  
  (defun svg-clock-replace (from to)
--- 155,161 ----
  
  (defun svg-clock-color-to-hex (colour)
    "Return hex representation of COLOUR."
!   (let ((values (mapcar (lambda (x) (/ x 256)) (color-values colour))))
      (format "#%02x%02x%02x" (nth 0 values) (nth 1 values) (nth 2 values))))
  
  (defun svg-clock-replace (from to)




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

end of thread, other threads:[~2012-06-01 11:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 11:04 Emacs 24 Mac port Pavel Martynenko
  -- strict thread matches above, loose matches on Subject: below --
2012-03-03  4:20 YAMAMOTO Mitsuharu
2012-03-03  8:26 ` Dave Abrahams
2012-03-04  6:24 ` YAMAMOTO Mitsuharu
2012-03-06  3:52   ` YAMAMOTO Mitsuharu
2012-03-15  1:26     ` Dave Abrahams
2012-03-15  8:22       ` YAMAMOTO Mitsuharu
2012-04-02  7:02 ` YAMAMOTO Mitsuharu
2012-04-02 15:08   ` Leo
2012-04-28  2:07   ` YAMAMOTO Mitsuharu
2012-05-17  5:12     ` YAMAMOTO Mitsuharu
2012-06-01 11:43       ` YAMAMOTO Mitsuharu

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